<?php
$ch = curl_init($_GET['url']);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, file_get_contents("php://input"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$ret = curl_exec($ch);
if (!$ret) {
	echo curl_error($ch);
} else {
	echo $ret;
}
curl_close($ch);
?>